<?php /* Smarty version 2.6.19, created on 2009-02-22 22:15:34
         compiled from articles/category_edit.tpl */ ?>
<?php if (( $this->_tpl_vars['items'] )): ?>
	<div class="tabs-titles">
		<ul class="tabs-titles">
			<li><a href="?q=articles/category/list"><span>Список категорий</span></a></li>
			<li class="active"><a href="?q=articles/category/add"><span>Редактировать категорию</span></a></li>
		</ul>					
	</div>
	<form action="?q=articles/category/edit" method="post">
		<ul class="edit-form">
			<li>
				<label>Название <span class="required">*</span> :</label>
				<input type="text" name="name" alt="" size="76" value="<?php echo $this->_tpl_vars['items']['name']; ?>
" class="text"/>
			</li>
			<li>
				<label>Псевдоним <span class="required">*</span> :</label>
				<input type="text" name="alias" alt="" size="76" value="<?php echo $this->_tpl_vars['items']['alias']; ?>
" class="text"/>
			</li>
			<li>
				<label>Описание :</label>
				<textarea  name="descr" cols="75" rows="6"><?php echo $this->_tpl_vars['items']['descr']; ?>
</textarea>
			</li>
			<li>
				<label>Опубликовать :</label>
				<input type="checkbox" name="visible" alt="" size="76" <?php if (( $this->_tpl_vars['items']['visible'] )): ?>checked="checked"<?php endif; ?> />
			</li>
			<li>
				<div class="buttons">
					<input type="hidden" name="category_id" value="<?php echo $this->_tpl_vars['items']['id']; ?>
">
					<input type="submit" value="Сохранить" name="submit" class="submit"/>
				</div>
			</li>
		</ul>
	</form>
<?php endif; ?>